RM = rm -f
CC = gcc
INCLUDE = -I../../lib/
CFLAGS = -Wall -g -O2 ${INCLUDE} -DHAVE_EPOLL -DNOTDEF
LIBS = ../../lib/libunp.a -lpthread -lrt -lsctp

PROGS =	sctpserv01 sctpclient01

all:	${PROGS}

sctpserv01:	sctpserv01.o sctp_getnostrm.o sctp_addr_to_associd.o sctp_wrapper.o
		${CC} ${CFLAGS} -o $@ $^ ${LIBS}

sctpclient01: sctpclient01.o sctp_strcli.o sctp_strcliecho.o sctp_wrapper.o
		${CC} ${CFLAGS} -o $@ $^ ${LIBS}

clean:
		rm -f ${PROGS} ${CLEANFILES} *.o
